package com.jz.cash.client.model;

import com.jz.cash.client.vo.FunctionVo;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;



@Data
public class User implements Serializable {

    private Long id;

    private Long merchantId;

    private String userName;

    private String password;

    private String salt;

    private Date createdDate;

    private Long creator;

    private Date lastModifyDate;

    private Long lastModifier;

    private Set<String> roles = new HashSet<>();

    private Set<String> perms = new HashSet<>();

    private Set<FunctionVo> funcs = new HashSet<>();

}
